package com.wenwan.manage.service;

import java.util.Map;

public interface GoodsService {

	public Map<String,Object> selectAll(Integer currentPage, Integer pageSize);

	public Map<String,Object> selectOneById(String id);

	public Map<String,Object> deleteById(String id);

	public Map<String,Object> create(String userId, String goodsCategorySecondId, String title, Double price,
			String info, String imagesCarousel, String imagesInfo);

	public Map<String,Object> update(String id, String userId, String goodsCategorySecondId, String title,
			Double price, String info, String imagesCarousel, String imagesInfo, Integer countReading,
			Integer countShare, Integer countWell);

}
